/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.cosmact.vxml.model;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Document</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.cosmact.vxml.model.Document#getName <em>Name</em>}</li>
 *   <li>{@link org.cosmact.vxml.model.Document#getDialogs <em>Dialogs</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.cosmact.vxml.model.ModelPackage#getDocument()
 * @model
 * @generated
 */
public interface Document extends EObject {
	/**
         * Returns the value of the '<em><b>Name</b></em>' attribute.
         * The default value is <code>"new_form"</code>.
         * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
         * @return the value of the '<em>Name</em>' attribute.
         * @see #setName(String)
         * @see org.cosmact.vxml.model.ModelPackage#getDocument_Name()
         * @model default="new_form"
         * @generated
         */
	String getName();

	/**
         * Sets the value of the '{@link org.cosmact.vxml.model.Document#getName <em>Name</em>}' attribute.
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @param value the new value of the '<em>Name</em>' attribute.
         * @see #getName()
         * @generated
         */
	void setName(String value);

	/**
         * Returns the value of the '<em><b>Dialogs</b></em>' containment reference list.
         * The list contents are of type {@link org.cosmact.vxml.model.Dialog}.
         * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Dialogs</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
         * @return the value of the '<em>Dialogs</em>' containment reference list.
         * @see org.cosmact.vxml.model.ModelPackage#getDocument_Dialogs()
         * @model containment="true"
         * @generated
         */
	EList<Dialog> getDialogs();

	/**
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @model
         * @generated
         */
	void addDialog(Dialog dialog);

	/**
         * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
         * @model
         * @generated
         */
	void removeDialog(Dialog dialog);

        /**
         * <!-- begin-user-doc -->
         * <!-- end-user-doc -->
         * @model dialogIdRequired="true"
         * @generated
         */
        Dialog getDialogById(String dialogId);

} // Document
